#include "StdAfx.h"
#include "NodoD.h"


NodoD::NodoD(void)
{
}


NodoD::~NodoD(void)
{
}

NodoD::NodoD(DataPack* bf){
	this->bf = bf;
	sig = NULL;
	ant = NULL;

}
	
void NodoD::setDataPack(DataPack* bf){
	this->bf = bf;
		 
}

void NodoD::setSig(NodoD* sig){
	this->sig = sig;
}


void NodoD::setAnt(NodoD* ant){
	this->ant= ant;
}


DataPack* NodoD::getDataPack(){
	return this->bf;
}

NodoD* NodoD::getSig(){
	return this->sig;
}

NodoD* NodoD::getAnt(){
	return this->ant;
}
